package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcWatchDataLocation;
import com.csun.cmny.provider.model.dto.watch.WatchLocationQueryDto;
import com.csun.cmny.provider.model.vo.watch.WatchLocationVo;
import com.github.pagehelper.PageInfo;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-24 15:01
 * @Description: the interface dmc watch data location service
 */
public interface DmcWatchDataLocationService extends IService<DmcWatchDataLocation> {

    /**
     * query real location by device id
     *
     * @param deviceId  device id
     *
     * @return  watch real location vo
     */
    WatchLocationVo queryRealLocationByDeviceId(Long deviceId);

    /**
     * query hist location list with page
     *
     * @param watchLocationQueryDto watch location query dto
     *
     * @return  the page info.
     */
    PageInfo queryHistLocationListWithPage(WatchLocationQueryDto watchLocationQueryDto);

    /**
     * 删除位置数据
     *
     * @param deviceId  the device id
     *
     * @return  the int
     */
    Integer removeDmcWatchDataLocation(Long deviceId);
}
